//
//  RegistrationDetailLogoCell.swift
//  EyeVisionForPatients
//
//  Created by PMC on 2020/4/20.
//  Copyright © 2020 QDSG. All rights reserved.
//

import UIKit

class RegistrationDetailLogoCell: UITableViewCell {
    
    func updateData(vm: RegistrationViewModel) {
        logoImgView.image = UIImage(named: vm.status.imgName)
        statusLabel.text = vm.status.text
    }
    
    @IBOutlet weak var logoImgView: UIImageView! {
        didSet {
            logoImgView.layer.cornerRadius = logoImgView.height / 2.0
            logoImgView.layer.masksToBounds = true
        }
    }
    @IBOutlet weak var statusLabel: UILabel!
    
}
